% TP2 manipulation d'image
clc;
close all;

boats = imread('TP2_ressources/boats.bmp');

% fonction impad
% boatsout = impad(boats, 10);
% figure, imshow(boatsout);

% fonction imsetborder
% boatsout = imsetborder(boats, 100, rand(1,3).*255);
% figure(1), imshow(boatsout);

% fonction implace
% img = imread('TP2_ressources/index.jpg');
% boatsout = implace(boats, img, 400,400);
% figure, imshow(boatsout);

% fonction noiseonf
% subplot(1,3,1);
% noiseonf(500, 500, 2);
% subplot(1,3,2);
% noiseonf(500, 500, 2);
% subplot(1,3,3);
% noiseonf(500, 500, 2);
